const state = {
  userInfo: {
    name: '张三',
    sex: '男',
    age: 16
  },
  userDes: '监考你',
  title: '你好, 袁隆平'
}
const mutations = {
  // 改变title的值 根据传入的val
  changeTitle (state, val) {
    state.title = val
  }
}
const getters = {}
const actions = {}

export default {
  namespaced: true, // 开启命名空间
  state,
  mutations,
  getters,
  actions
}
